package com.hcryan.djm.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ryanwdj
 * @TableName itinerary
 */
@TableName(value = "itinerary")
@Data
public class Itinerary implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 目的地代码
     */
    @TableField(value = "name")
    private String name;

    /**
     * 行程标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 天数
     */
    @TableField(value = "duration")
    private Integer duration;

    /**
     * 景点数
     */
    @TableField(value = "location_count")
    private Integer locationCount;

    /**
     * 对象存储路径
     */
    @TableField(value = "cover_image")
    private String coverImage;

    /**
     *
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     *
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     *
     */
    @TableField(value = "update_time")
    private Date updateTime;


}